package com.wcx.application.service.Impl;

import com.wcx.application.domian.BossBean;
import com.wcx.application.domian.JobBean;
import com.wcx.application.domian.JobTechBean;
import com.wcx.application.mapper.BossMapper;
import com.wcx.application.mapper.JobMapper;
import com.wcx.application.service.BossService;
import com.wcx.application.service.JobService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class JobServiceImpl implements JobService {
    @Autowired
    JobMapper jobMapper;

    @Override
    public List<JobBean> getList() {
        return jobMapper.getList();
    }

    @Override
    public int update(JobBean jobBean) {
        return jobMapper.update(jobBean);
    }

    @Override
    public int delete(int id) {
        return jobMapper.delete(id);
    }



    @Override
    public int create(JobBean jobBean) {
        return jobMapper.create(jobBean);
    }

    @Override
    public List<JobBean> searchList(JobBean jobBean) {
        return jobMapper.searchList(jobBean);
    }

    @Override
    public int createTech(JobTechBean jobTechBean) {
        return jobMapper.createTech(jobTechBean);
    }

    @Override
    public List<String> selectTech(int id) {
        return jobMapper.selectTech(id);
    }

    @Override
    public int deleteTech(int id) {
        return jobMapper.deleteTech(id);
    }


}
